package org.caowei.samples.sevice;

import java.io.InputStream;
import java.util.List;

import org.caowei.samples.model.User;
import org.caowei.samples.vo.UserVO;

public interface UserService {

	List<User> findAllUsers() throws Exception;

	void createUser(User user) throws Exception;

	void editUser(User user) throws Exception;

	User getUserById(String id) throws Exception;
	
	UserVO getloginById(String id) throws Exception;

	void deleteUser(String id) throws Exception;

	void saveStudnetByExcel(InputStream inputStream, String postfix);

	void updateUserLoginFailCout(UserVO resultVO)throws Exception;
	
	void updateUserLastLockTime(UserVO resultVO)throws Exception;

}
